class CompareLogicExer {
	public static void main(String[] args) {
	
		int a;
        a=20;

		int b;
		b=20;

		boolean bo1;

		int res = ++a % 3;
		boolean flag = res == 0;

		int res02 = a++ % 7;
		boolean flag2 = res02 == 0;

		bo1 = flag && flag2;

		boolean bo2;

		int res03 =b++ % 3;
		boolean flag3= res03 == 0;

		int res04 =++b % 7;
		boolean flag4 = res04 == 0;

		bo2=flag3 && flag4;
	}
}
